package com.mano.mall.api.good;

import com.mano.mall.api.dto.good.output.ProductOutputDTO;
import com.mano.mall.common.base.BaseResponse;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;

@Api(tags = "商品搜索服务")
public interface ProductSearchService {
    @GetMapping("/search")
    @ApiOperation(value = "商品搜索")
    public BaseResponse<List<ProductOutputDTO>> search(String name);
}
